using Godot;

[GlobalClass]
public partial class CItem : Resource
{
    [Export] public string mName;
    [Export(PropertyHint.File)] public string mImg;
    [Export] public int mMoney;
    [Export] public IETM_TYPE mType;

    public virtual string toolTip()
    {
        return string.Format("{0}\n价格:{1}", mName, mMoney);
    }
    public virtual bool canUse()
    {
        return false;
    }

    public virtual bool canEuqip()
    {
        return false;
    }
}